<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>隐私设置 - 家族传承</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
</head>
<body class="bg-white">
  <header class="bg-red-500 text-white p-4 flex items-center justify-between">
    <h2 class="text-xl font-semibold">隐私设置</h2>
    <a href="index.html" class="text-white hover:underline"><i class="fas fa-home"></i></a>
  </header>
  <main class="p-4 max-w-xl mx-auto space-y-6">
    <div class="bg-yellow-100 p-4 rounded shadow">
      <h3 class="font-semibold mb-2"><i class="fas fa-user-shield text-red-500 mr-2"></i>个人信息可见范围</h3>
      <select class="w-full border p-2 rounded">
        <option>仅自己可见</option>
        <option>家族成员可见</option>
        <option>所有人可见</option>
      </select>
    </div>
    <div class="bg-yellow-100 p-4 rounded shadow">
      <h3 class="font-semibold mb-2"><i class="fas fa-bullhorn text-green-500 mr-2"></i>动态可见范围</h3>
      <select class="w-full border p-2 rounded">
        <option>家族圈可见</option>
        <option>公开可见</option>
      </select>
    </div>
    <div class="bg-yellow-100 p-4 rounded shadow">
      <h3 class="font-semibold mb-2"><i class="fas fa-comments text-blue-500 mr-2"></i>私信消息接收</h3>
      <div class="flex items-center space-x-4">
        <label class="flex items-center"><input type="checkbox" class="mr-2"> 允许所有家族成员私信我</label>
      </div>
    </div>
    <div class="bg-yellow-100 p-4 rounded shadow">
      <h3 class="font-semibold mb-2"><i class="fas fa-exclamation-triangle text-purple-500 mr-2"></i>活动通知提醒</h3>
      <div class="flex items-center space-x-4">
        <label class="flex items-center"><input type="checkbox" class="mr-2"> 接收活动报名及动态提醒</label>
      </div>
    </div>
    <div class="text-center">
      <button class="bg-red-500 text-white px-6 py-2 rounded hover:bg-red-600 transition">保存设置</button>
    </div>
  </main>
</body>
</html>